import http from "@/utils/http";

export const getBannerApi = (params?: object) =>
  http.get("/admin/banner/list", params);

export const removeBannerApi = (params?: object) =>
  http.get("/admin/banner/delete", params);

export const addBannerApi = (data?: object) =>
  http.post("/admin/banner/add", data);
